// /common/api/login.js

const http = uni.$u.http

// post请求,用户登录(post请求请求体传参不传递token)
export const login = (params = {}) => http.post('/user/login', params)

export const getIndex = (params = {}) => http.get('/api/index', params)